Если в вашем проекте накопилось множество модульных и интеграционных тестов, их полный прогон может занимать ощутимое время. В процессе разработки чаще запускаются один или несколько конкретных тестов.
На помощь приходит команда:
dotnet test --filter
Команда позволяет запускать выборочные тесты, отфильтрованные по различным критериям:
➖ Названию метода
➖ Названию класса
➖ Атрибутам [Trait]
➖ Кастомным меткам
Примеры:
По части имени теста:
dotnet test --filter Name~Login
По имени класса:
dotnet test --filter FullyQualifiedName~MyApp.Tests.UserServiceTests
По категории через [Trait]:
dotnet test --filter Category=Integration
Комбинирование фильтров:
dotnet test --filter "(Category=Smoke)&(TestCategory!=Slow)"
Если в вашем проекте накопилось множество модульных и интеграционных тестов, их полный прогон может занимать ощутимое время. В процессе разработки чаще запускаются один или несколько конкретных тестов.
На помощь приходит команда:
dotnet test --filter
Команда позволяет запускать выборочные тесты, отфильтрованные по различным критериям:
➖ Названию метода
➖ Названию класса
➖ Атрибутам [Trait]
➖ Кастомным меткам
Примеры:
По части имени теста:
dotnet test --filter Name~Login
По имени класса:
dotnet test --filter FullyQualifiedName~MyApp.Tests.UserServiceTests
По категории через [Trait]:
dotnet test --filter Category=Integration
Комбинирование фильтров:
dotnet test --filter "(Category=Smoke)&(TestCategory!=Slow)"
The SSE was the first modern stock exchange to open in China, with trading commencing in 1990. It has now grown to become the largest stock exchange in Asia and the third-largest in the world by market capitalization, which stood at RMB 50.6 trillion (US$7.8 trillion) as of September 2021. Stocks (both A-shares and B-shares), bonds, funds, and derivatives are traded on the exchange. The SEE has two trading boards, the Main Board and the Science and Technology Innovation Board, the latter more commonly known as the STAR Market. The Main Board mainly hosts large, well-established Chinese companies and lists both A-shares and B-shares.
Telegram hopes to raise $1bn with a convertible bond private placement
The super secure UAE-based Telegram messenger service, developed by Russian-born software icon Pavel Durov, is looking to raise $1bn through a bond placement to a limited number of investors from Russia, Europe, Asia and the Middle East, the Kommersant daily reported citing unnamed sources on February 18, 2021.The issue reportedly comprises exchange bonds that could be converted into equity in the messaging service that is currently 100% owned by Durov and his brother Nikolai.Kommersant reports that the price of the conversion would be at a 10% discount to a potential IPO should it happen within five years.The minimum bond placement is said to be set at $50mn, but could be lowered to $10mn. Five-year bonds could carry an annual coupon of 7-8%.